let AuthSetting = {
  userInfo: 'scope.userInfo',
  userLocation: 'scope.userLocation',
  address: 'scope.address',
  invoiceTitle: 'scope.invoiceTitle',
  invoice: 'scope.invoice',
  werun: 'scope.werun',
  record: 'scope.record',
  writePhotosAlbum: 'scope.writePhotosAlbum',
  camera: 'scope.camera',
}

let yearOptions = function() {
  return [
    {
      value: 2018,
      label: '2018年',
    },
    {
      value: 2019,
      label: '2019年',
    },
    {
      value: 2020,
      label: '2020年',
    },
    {
      value: 2021,
      label: '2021年',
    },
    {
      value: 2022,
      label: '2022年',
    },
    {
      value: 2023,
      label: '2023年',
    },
    {
      value: 2024,
      label: '2024年',
    },
  ]
}

let booleanOptions = function() {
  return [
    {
      value: 1,
      label: '是',
    },
    {
      value: 0,
      label: '否',
    },
  ]
}


let ideaOptions = function() {
  return [
    { label: '低端课', value: '0' },
    { label: '中端课', value: '1' },
    { label: '高端课', value: '2' },
    { label: '待匹配', value: '3' },
  ]
}

let levelOptions = function() {
  return [
    { label: '大一', value: '大一' },
    { label: '大二', value: '大二' },
    { label: '大三', value: '大三' },
    { label: '大四', value: '大四' },
    { label: '大五', value: '大五' },
  ]
}

let trendecyLevelsOptions = function() {
  return  [
    { label: '2年', value: 2 },
    { label: '3年', value: 3 },
    { label: '4年', value: 4 },
    { label: '5年', value: 5 },
  ]
}


module.exports = {
  AuthSetting,
  yearOptions,
  booleanOptions,
  ideaOptions,
  levelOptions,
  trendecyLevelsOptions,
}
